<template>
  <el-row class="header" style="padding:10px 20px;">
      <el-col :span="24">
        <el-breadcrumb separator="/">
          <el-breadcrumb-item
            v-for="(item,index) in data"
            :key="index"
            :to="{ path: item.path }">{{item.value}}</el-breadcrumb-item>
          </el-breadcrumb>
      </el-col>
    </el-row>
</template>

<script>
export default {
  props: {
    data: {
      type: Array,
      default: () => []
    }
  }
}
</script>

<style>

</style>
